package com.example.vehicle.Performance;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @name: PressureTest
 * @description: 压力测试。
 * @author: Lulu Zhao
 **/
public class PressureTest {
    /**
     * @name: main
     * @description: 压力测试主函数。
     * @params: [args]
     * @return: void
     * @author: Lulu Zhao
     */
    public static void main(String[] args) {
        ExecutorService executor = Executors.newFixedThreadPool(2);
        executor.execute(new Register());
        executor.execute(new Query());
        executor.shutdown();
    }
}
